package com.sztx.pay.center.dataaccess.dao.mysql;

import com.sztx.pay.center.dataaccess.domain.CommonIdInstanceDO;
import com.sztx.se.dataaccess.mysql.BaseMysqlDAO;
import com.sztx.se.dataaccess.mysql.config.PageQuery;

import org.apache.ibatis.annotations.Param;

public interface CommonIdInstanceMysqlDAO extends BaseMysqlDAO<CommonIdInstanceDO> {
    

    CommonIdInstanceDO listPage(@Param("commonIdInstanceDO") CommonIdInstanceDO commonIdInstanceDO, @Param("pageQuery") PageQuery pageQuery);

    

    Integer listCount(@Param("commonIdInstanceDO") CommonIdInstanceDO commonIdInstanceDO);
    
    
    CommonIdInstanceDO findById(@Param("templateId") Integer templateId, @Param("createTime") String createTime);
    
   
    void updateStartSeq(@Param("startSeq") String startSeq, @Param("templateId") Integer templateId, @Param("createTime") String createTime);

    
    CommonIdInstanceDO findLastModify(@Param("templateId") Integer templateId);
    
   
}